package com.feel.mall.common.service;

import com.feel.mall.common.bean.Category;
import com.feel.mall.common.exception.FeelException;

/**
 * @Author: 刘永钦
 * @Date: 2024-09-20-15:15
 * @Description:
 */
public interface CategoryService {
//    添加
    Boolean add(Category category) throws FeelException;
//    删除
    Boolean del(Integer id) throws FeelException;
//    修改
    Boolean update(Category category) throws FeelException;
//    条件搜索
    Object getByCondition(Category condition, Integer pageNum, Integer pageSize);
//    根据id查询
    Category getById(Integer id);
//
}
